﻿<%@ Page Title="Strategic Asset Management Las Vegas: Working List" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true" CodeBehind="WorkingList.aspx.cs" Inherits="LenderClearingHouse.WorkingList" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Src="ListFilterControl.ascx" TagName="ListFilterControl" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphPageHeader" runat="server">
    Working List
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphMain" runat="server">
    <uc1:ListFilterControl ID="listFilter" runat="server" />
    <!--Panel Five: "Export & etc..."-->
    <div class="panel5">
        <table width="940" border="0" cellspacing="0" cellpadding="0">
            <tr>
               <%-- <td width="10" height="32" valign="middle">
                    &nbsp;
                </td>--%>
                <td width="35" valign="middle">
                    <img src="images/excel_icon.png" width="30" height="30" />
                </td>
                <td width="140" valign="middle">
                    <asp:LinkButton ID="lnkExportToExcel" CssClass="link1" runat="server" 
                        Text="Export To Excel" onclick="lnkExportToExcel_Click"></asp:LinkButton>
                </td>
                <td width="35" valign="middle">
                    <img src="images/refresh_icon.png" width="30" height="30" />
                </td>
                <td width="110" valign="middle">
                    <asp:LinkButton ID="lnkRefreshGrid" CssClass="link1" runat="server" 
                        Text="Refresh Grid" onclick="lnkRefreshGrid_Click"></asp:LinkButton>&nbsp;
                </td>
                <td width="35" valign="middle" runat="server" id="tdClearIcon">
                    <img src="images/refresh_icon.png" width="30" height="30" />
                </td>
                <td width="160" valign="middle" runat="server" id="tdClear">
                    <asp:LinkButton ID="lnkClear" CssClass="link1" runat="server" 
                        Text="Clear Working List" onclick="lnkClear_Click"
                        OnClientClick="return confirm('You are about to clear working list, documents and images - please confirm');"></asp:LinkButton>&nbsp;
                </td>
                <td width="35" valign="middle" runat="server" id="tdCopyIcon">
                    <img src="images/refresh_icon.png" width="30" height="30" />
                </td>
                <td width="260" valign="middle" runat="server" id="tdCopy">
                  <asp:LinkButton ID="lnkCopyNewToWorkingList" CssClass="link1" runat="server" Text="Copy scraped to Working List"
                          OnClick="lnkCopyNewToWorkingList_Click"></asp:LinkButton>&nbsp;
                </td>
                <td width="35" valign="middle" runat="server" id="tdMoveIcon">
                    <img src="images/refresh_icon.png" width="30" height="30" />
                </td>
                <td width="145" valign="middle" runat="server" id="tdMove">
                  <asp:LinkButton ID="lnkMoveToLvreo" CssClass="link1" runat="server" Text="Move to LVREO"
                          OnClick="lnkMoveToLvreo_Click"></asp:LinkButton>&nbsp;
                </td>
                
                <td width="60" valign="middle">
                    <asp:Button ID="Archive" style = "font-size: 16px;" runat="server" Text="Archive"
                        OnClick="Archive_Click"></asp:Button>
                </td> 

                <td width="*">
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>
    <!--Panel Five: "Export & etc..." Ends-->
    <!--Panel Six: "Postponed & etc..."-->
    <!--Panel Six: "Postponed & etc..." Ends-->
    <!--Blank List-->
    <div class="blank_list1">
    </div>
    <!--Blank List Ends-->
    <!--Panel Seven: "Grid Area"-->
    <div class="panel7">
        <asp:PlaceHolder ID="phGrid" runat="server"></asp:PlaceHolder>
    </div>
    <!--Panel Seven: "Grid Area" Ends-->
    <!--Blank List-->
    <div class="blank_list1">        
    </div>
    <!--Blank List Ends-->
    <telerik:GridTextBoxColumnEditor ID="edTextBox" runat="server" 
        TextBoxMode="MultiLine">
    </telerik:GridTextBoxColumnEditor>
    <asp:SqlDataSource ID="sqlDataSource" runat="server" 
        ConnectionString="<%$ ConnectionStrings:SQLConnection %>" 
        CancelSelectOnNullParameter="False"
        SelectCommand="getWorkingList" SelectCommandType="StoredProcedure" 
        onselecting="sqlDataSource_Selecting" DeleteCommand="deleteWorkingList" 
        DeleteCommandType="StoredProcedure" InsertCommand="insertWorkingList" 
        InsertCommandType="StoredProcedure" UpdateCommand="updateWorkingList" 
        UpdateCommandType="StoredProcedure">
    </asp:SqlDataSource>
    <telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
    </telerik:RadAjaxManager>
</asp:Content>
